package orm.controller;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

/**
 * Created by ashin on 2017/5/22.
 */
public class SessionController implements HttpSessionListener {

    public static String sf_user_list;

    @Override
    public void sessionCreated(HttpSessionEvent httpSessionEvent) {
    }

    @Override
    public void sessionDestroyed(HttpSessionEvent httpSessionEvent) {
        try {
            //当session失效，删除登录状态
        }catch(Exception e){
            e.printStackTrace();
        }
    }
}
